type IFormType = 'input' | 'select' | 'textarea' | 'radio' | 'upload' | 'switch'

export interface IOption {
  label: string
  value: number | string
}

export interface IFormItem {
  field: string
  type: IFormType
  label: string
  placeholder?: string | number
  // 针对select
  options?: IOption[]
  // 其他配置项
  otherOptions?: any
}

export interface IForm {
  formItems: IFormItem[]
  labelWidth?: string
  colLayout?: any
  itemLayout?: any
}
